/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
 */

CKEDITOR.editorConfig = function( config ) {
    config.extraPlugins = 'image2';

    // Define changes to default configuration here. For example:
    // config.language = 'fr';
    // config.uiColor = '#AADC6E';
    config.language = 'zh-cn';
    config.height = 800;
    // config.uiColor = '#AADC6E';
    // config.extraPlugins = 'uploadimage';
    config.filebrowserImageUploadUrl = './../ckUpload/uploadPicture?command=QuickUpload&type=Images';
   // config.removeButtons = 'Save,Flash,Iframe,Language'; // 移除指定工具
    //config.extraPlugins = 'emoji';


    config.toolbarGroups = [
        { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
        { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
        { name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
        { name: 'forms', groups: [ 'forms' ] },
        { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
        { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
        { name: 'links', groups: [ 'links' ] },
        { name: 'insert', groups: [ 'insert' ] },
        { name: 'styles', groups: [ 'styles' ] },
        { name: 'colors', groups: [ 'colors' ] },
        { name: 'tools', groups: [ 'tools' ] },
        { name: 'others', groups: [ 'others' ] },
        { name: 'about', groups: [ 'about' ] }
    ];

    config.removeButtons = 'About,Maximize,ShowBlocks,Flash,Iframe,Anchor,Unlink,Link,BidiLtr,BidiRtl,Language,CreateDiv,Blockquote,Outdent,Indent,CopyFormatting,RemoveFormat,Find,Replace,SelectAll,Scayt,Print,NewPage,ExportPdf,Preview,Save,Templates,Cut,HiddenField,ImageButton,Form,Subscript,Superscript,Copy,PageBreak,HorizontalRule,BulletedList';

};
